package com.ra.mapper;

import com.ra.pojo.UserAuth;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ra.pojo.dto.UserDetailsDTO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 今晚几点睡_Ada
 * @since 2023-03-09
 */
@Repository
public interface UserAuthMapper extends BaseMapper<UserAuth> {

    UserDetailsDTO getUserByUserName(@Param("username") String username);
}
